package com.eastcom.bm.atom;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "QA_EMAILNOTICE")
public class Atom_ActionEmailNotice implements Serializable{

	private String uuid;
	
	private String name;
	
	private String cName;
	
	private String emailAddress;
	
	private String host;
	
	private String port;
	
	private String userName;
	
	private String password;
	
	private String sender;
	
	@Id
	@Column(name = "UUID", nullable = false)
	@GenericGenerator(name = "EMAILNOTICE-uuid", strategy = "uuid")
	@GeneratedValue(generator = "EMAILNOTICE-uuid")
	public String getUuid() {
		return uuid;
	}
	
	@Column(name="CNAME")
	public String getCName() {
		return cName;
	}
	
	@Column(name="EMAIL_ADDRESS")
	public String getEmailAddress() {
		return emailAddress;
	}
	
	@Column(name="NAME")
	public String getName() {
		return name;
	}
	
	@Column(name="HOST")
	public String getHost() {
		return host;
	}

	@Column(name="USERNAME")
	public String getUserName() {
		return userName;
	}
	
	@Column(name="PASSWORD")
	public String getPassword() {
		return password;
	}
	
	@Column(name="PORT")
	public String getPort() {
		return port;
	}

	@Column(name="SENDER")
	public String getSender() {
		return sender;
	}

	public void setCName(String name) {
		cName = name;
	}
	
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	
	public void setHost(String host) {
		this.host = host;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}
	
	public void setPort(String port) {
		this.port = port;
	}
	
	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

}
